<load href="__PUBLIC__/ueditor/umeditor.min.js" />
<load href="__PUBLIC__/ueditor/umeditor.config.js" />
<load href="__PUBLIC__/ueditor/themes/default/css/umeditor.min.css" />

<script type="text/plain" id="[name]" name="[name]" style="width:100%;height:300px;"></script>


<script type="text/javascript">


$(function(){
    var v = "[value]";
	var ue = UM.getEditor('[name]', {
        imageUrl:"__ROOT__/Upload/imageUp.php",
        imagePath:"http://{$Think.server.SERVER_NAME}__ROOT__/Upload/",
        initialContent:v,

        // lang:/^zh/.test(navigator.language || navigator.browserLanguage || navigator.userLanguage) ? 'zh-cn' : 'en',
        // langPath:UMEDITOR_CONFIG.UMEDITOR_HOME_URL + "lang/",
        // focus: true
    });
})
</script>
